package com.woniuxy.run.user.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniuxy.run.user.entity.Cart;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-03-23
 */
public interface CartMapper extends BaseMapper<Cart> {
    //根据userid和菜品id删除购物车
    boolean del(int userid, List<Integer> dishids);
    List<Cart> all();
}
